package com.hsogoo.study.spring.proxy;

import javassist.util.proxy.ProxyFactory;

/**
 * @Author huangsaigang
 * Created @2018/9/24.
 */
public class ProxyTest {

    public static void main(String[] args) throws Exception {

        TargetClass proxyClass = (TargetClass)JavassistFactoryProxy.getProxy(TargetClass.class);
        proxyClass.doSomething();

    }
}
